From: Kim F. Storm Date: Tue, 27 Apr 2004 08:48:12 +0000 (+0000) Subject: (x_produce_glyphs): Fix last change; handle newline in X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22893 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=221abdf708151329029e476963b53a5e6526c860;p=emacs.git (x_produce_glyphs): Fix last change; handle newline in header line strings. --- diff --git a/src/xdisp.c b/src/xdisp.c index 4993ae12fb9..2ef3722c080 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -18708,7 +18708,7 @@ x_produce_glyphs (it) it->pixel_width = 0; it->nglyphs = 0; - lh = Fget_text_property (IT_CHARPOS (*it), Qline_height, it->w->buffer); + lh = Fget_text_property (IT_CHARPOS (*it), Qline_height, it->object); if (EQ (lh, Qt)) { @@ -18760,7 +18760,7 @@ x_produce_glyphs (it) it->ascent = explicit_height - it->descent; } - lsp = Fget_text_property (IT_CHARPOS (*it), Qline_spacing, it->w->buffer); + lsp = Fget_text_property (IT_CHARPOS (*it), Qline_spacing, it->object); if (INTEGERP (lsp)) extra_line_spacing = XINT (lsp); else if (FLOATP (lsp))